package req

type PostCreateReq struct {
	Title    string   `json:"title" binding:"required" `
	Content  string   `json:"content" binding:"required"`
	Tags     []string `json:"tags" binding:"required"`
	AuthorId int64    `json:"authorId" binding:"required"`
}

type PostUpdateReq struct {
	Id      int64    `json:"id" binding:"required"`
	Title   string   `json:"title"`
	Content string   `json:"content"`
	Tags    []string `json:"tags"`
}

type PostDeleteReq struct {
	Id int64 `uri:"id" binding:"required"`
}
